<?php

function smarty_modifier_imagename($string)
{
    return substr( $string, 0, strrpos( $string, '.', 0 ) );
}

/* vim: set expandtab: */

?>
